home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2009 February
/
PCWFEB09.iso
/
Software
/
Resources
/
Chat & Communication
/
Digsby build 37
/
digsby_setup.exe
/
lib
/
M2Crypto
/
BN.pyo
(
.txt
)
< prev
next >
Wrap
Python Compiled Bytecode
|
2008-10-13
|
827b
|
24 lines
# Source Generated with Decompyle++
# File: in.pyo (Python 2.5)
import m2
def rand(bits, top = -1, bottom = 0):
return m2.bn_rand(bits, top, bottom)
def rand_range(range):
return m2.bn_rand_range(range)
def randfname(length):
letters = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890'
lettersLen = len(letters)
fname = []
for x in range(length):
fname += [
letters[m2.bn_rand_range(lettersLen)]]
return ''.join(fname)